/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Physical Therapist Provider Codes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S20548 (C-0-T19465-S20532-S20548-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getPhysicalTherapistProviderCodes()
 * @model extendedMetaData="name='PhysicalTherapistProviderCodes'"
 * @generated
 */
public enum PhysicalTherapistProviderCodes implements Enumerator {
	/**
	 * The '<em><b>225100000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225100000X_VALUE
	 * @generated
	 * @ordered
	 */
	_225100000X(0, "_225100000X", "225100000X"),

	/**
	 * The '<em><b>2251C2600X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251C2600X_VALUE
	 * @generated
	 * @ordered
	 */
	_2251C2600X(1, "_2251C2600X", "2251C2600X"),

	/**
	 * The '<em><b>2251E1300X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251E1300X_VALUE
	 * @generated
	 * @ordered
	 */
	_2251E1300X(2, "_2251E1300X", "2251E1300X"),

	/**
	 * The '<em><b>2251E1200X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251E1200X_VALUE
	 * @generated
	 * @ordered
	 */
	_2251E1200X(3, "_2251E1200X", "2251E1200X"),

	/**
	 * The '<em><b>2251G0304X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251G0304X_VALUE
	 * @generated
	 * @ordered
	 */
	_2251G0304X(4, "_2251G0304X", "2251G0304X"),

	/**
	 * The '<em><b>2251H1200X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251H1200X_VALUE
	 * @generated
	 * @ordered
	 */
	_2251H1200X(5, "_2251H1200X", "2251H1200X"),

	/**
	 * The '<em><b>2251H1300X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251H1300X_VALUE
	 * @generated
	 * @ordered
	 */
	_2251H1300X(6, "_2251H1300X", "2251H1300X"),

	/**
	 * The '<em><b>2251N0400X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251N0400X_VALUE
	 * @generated
	 * @ordered
	 */
	_2251N0400X(7, "_2251N0400X", "2251N0400X"),

	/**
	 * The '<em><b>2251X0800X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251X0800X_VALUE
	 * @generated
	 * @ordered
	 */
	_2251X0800X(8, "_2251X0800X", "2251X0800X"),

	/**
	 * The '<em><b>2251P0200X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251P0200X_VALUE
	 * @generated
	 * @ordered
	 */
	_2251P0200X(9, "_2251P0200X", "2251P0200X"),

	/**
	 * The '<em><b>2251S0007X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251S0007X_VALUE
	 * @generated
	 * @ordered
	 */
	_2251S0007X(10, "_2251S0007X", "2251S0007X");

	/**
	 * The '<em><b>225100000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225100000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225100000X
	 * @model literal="225100000X"
	 * @generated
	 * @ordered
	 */
	public static final int _225100000X_VALUE = 0;

	/**
	 * The '<em><b>2251C2600X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251C2600X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251C2600X
	 * @model literal="2251C2600X"
	 * @generated
	 * @ordered
	 */
	public static final int _2251C2600X_VALUE = 1;

	/**
	 * The '<em><b>2251E1300X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251E1300X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251E1300X
	 * @model literal="2251E1300X"
	 * @generated
	 * @ordered
	 */
	public static final int _2251E1300X_VALUE = 2;

	/**
	 * The '<em><b>2251E1200X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251E1200X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251E1200X
	 * @model literal="2251E1200X"
	 * @generated
	 * @ordered
	 */
	public static final int _2251E1200X_VALUE = 3;

	/**
	 * The '<em><b>2251G0304X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251G0304X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251G0304X
	 * @model literal="2251G0304X"
	 * @generated
	 * @ordered
	 */
	public static final int _2251G0304X_VALUE = 4;

	/**
	 * The '<em><b>2251H1200X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251H1200X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251H1200X
	 * @model literal="2251H1200X"
	 * @generated
	 * @ordered
	 */
	public static final int _2251H1200X_VALUE = 5;

	/**
	 * The '<em><b>2251H1300X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251H1300X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251H1300X
	 * @model literal="2251H1300X"
	 * @generated
	 * @ordered
	 */
	public static final int _2251H1300X_VALUE = 6;

	/**
	 * The '<em><b>2251N0400X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251N0400X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251N0400X
	 * @model literal="2251N0400X"
	 * @generated
	 * @ordered
	 */
	public static final int _2251N0400X_VALUE = 7;

	/**
	 * The '<em><b>2251X0800X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251X0800X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251X0800X
	 * @model literal="2251X0800X"
	 * @generated
	 * @ordered
	 */
	public static final int _2251X0800X_VALUE = 8;

	/**
	 * The '<em><b>2251P0200X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251P0200X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251P0200X
	 * @model literal="2251P0200X"
	 * @generated
	 * @ordered
	 */
	public static final int _2251P0200X_VALUE = 9;

	/**
	 * The '<em><b>2251S0007X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251S0007X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251S0007X
	 * @model literal="2251S0007X"
	 * @generated
	 * @ordered
	 */
	public static final int _2251S0007X_VALUE = 10;

	/**
	 * An array of all the '<em><b>Physical Therapist Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final PhysicalTherapistProviderCodes[] VALUES_ARRAY =
		new PhysicalTherapistProviderCodes[] {
			_225100000X,
			_2251C2600X,
			_2251E1300X,
			_2251E1200X,
			_2251G0304X,
			_2251H1200X,
			_2251H1300X,
			_2251N0400X,
			_2251X0800X,
			_2251P0200X,
			_2251S0007X,
		};

	/**
	 * A public read-only list of all the '<em><b>Physical Therapist Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<PhysicalTherapistProviderCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Physical Therapist Provider Codes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PhysicalTherapistProviderCodes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PhysicalTherapistProviderCodes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Physical Therapist Provider Codes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PhysicalTherapistProviderCodes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PhysicalTherapistProviderCodes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Physical Therapist Provider Codes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PhysicalTherapistProviderCodes get(int value) {
		switch (value) {
			case _225100000X_VALUE: return _225100000X;
			case _2251C2600X_VALUE: return _2251C2600X;
			case _2251E1300X_VALUE: return _2251E1300X;
			case _2251E1200X_VALUE: return _2251E1200X;
			case _2251G0304X_VALUE: return _2251G0304X;
			case _2251H1200X_VALUE: return _2251H1200X;
			case _2251H1300X_VALUE: return _2251H1300X;
			case _2251N0400X_VALUE: return _2251N0400X;
			case _2251X0800X_VALUE: return _2251X0800X;
			case _2251P0200X_VALUE: return _2251P0200X;
			case _2251S0007X_VALUE: return _2251S0007X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private PhysicalTherapistProviderCodes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //PhysicalTherapistProviderCodes
